package com.dson.code.repository;

import com.dson.code.pojo.AuthCode;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AuthCodeRepository extends JpaRepository<AuthCode, Integer> {

    Page<AuthCode> getByEmailOrderByCreateTimeDesc(String email, Pageable pageable);
}
